import { createApp } from "vue";
import App from "./App.vue";

import "@/style/index.scss";
import "normalize.css/normalize.css";
import "uno.css";
import "./permission";

import ElementPlus from "element-plus";
// import "element-plus/theme-chalk/index.css";

import router from "./router/index";
import { createPinia } from "pinia";
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

import element from "./plugins/element";

const app = createApp(App);
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

app.use(ElementPlus);
app.use(pinia);
app.use(router);
app.use(element);
app.mount("#app");
